package com.huxiu.net.model;

import com.google.gson.Gson;

/**
 * Created by caoyuanjing on 15/12/7.
 */
public class CommentItem {
    public String cid;
    public String authorid;
    public String author;
    public long dateline;
    public String avatar;
    public String message;
    public int agree_num;
    public String aid;
    public int disagree_num;
    public String recomment_num;
    public String article_url;
    public String article_h5_url;
    public boolean agree=false;
    public boolean disagree=false;
    public Recomment[] recomments;
    public String summary;
    @Override
    public String toString() {
        return new Gson().toJson(this);
    }


    public class Recomment{
        public String id;
        public String authorid;
        public String author;
        public long dateline;
        public String  avatar;
        public String comment;
        @Override
        public String toString() {
            return new Gson().toJson(this);
        }
    }


}
